﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 收入表
    /// </summary>
    [SugarTable("IncomeStatement")]
    public class IncomeStatement
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        /// <summary>
        /// 收入Id
        /// </summary>
        public int incomeId { get; set; }

        /// <summary>
        /// 收入单号
        /// </summary>
        public string ReceiptNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string ?Remark { get; set; }

        /// <summary>
        /// 收入类型编号
        /// </summary>
        public int? IncomeTypeId { get; set; }

        /// <summary>
        /// 收入主题
        /// </summary>
        public string ?IncomeTheme { get; set; }

        /// <summary>
        /// 收入日期
        /// </summary>
        public DateTime? IncomeDate { get; set; }

        /// <summary>
        /// 收入金额
        /// </summary>
        public decimal? IncomePrice { get; set; }

        /// <summary>
        /// 付款方
        /// </summary>
        public string ?Payer { get; set; }

        /// <summary>
        /// 账户名称
        /// </summary>
        public string ?AccountTitle { get; set; }

        /// <summary>
        /// 网点名称
        /// </summary>
        public string? NetworkName { get; set; }

        ///// <summary>
        ///// 开户银行
        ///// </summary>
        public string ?DepositBank { get; set; }

        ///// <summary>
        ///// 银行账号
        ///// </summary>
        public string ?BankAccount { get; set; }

        ///// <summary>
        ///// 显示订单主题
        ///// </summary>
       //public string ?ShowOrderSubject { get; set; }

        ///// <summary>
        ///// 出库状态
        ///// </summary>
        //public string ?OutboundStatus { get; set; }

        ///// <summary>
        ///// 已收款金额
        ///// </summary>
        //public string ?AmountReceived { get; set; }

        ///// <summary>
        ///// 销售日期
        ///// </summary>
        //public string ?SalesDate { get; set; }

        ///// <summary>
        ///// 优惠后金额
        ///// </summary>
        //public decimal? AmountAfterConcession { get; set; }
        public string IncomeStatementImage { get; set; }
        public bool? IsDelete { get; set; }=false;
    }
}
